package com.core.java;

import java.util.Scanner;

public class Switch {

	public static void main(String[] args) {
		System.out.print("Enter a number from 1-12 :" );

		Scanner input = new Scanner(System.in);
		//String str = input.nextLine();	
		int month = input.nextInt();
		
		switch(month){
		case 1: System.out.println("The month is January" );break;
		case 2: System.out.println("The month is February" );break;
		case 3: System.out.println("The month is March" );break;
		case 4: System.out.println("The month is April" );break;
		case 5: System.out.println("The month is May" );break;
		case 6: System.out.println("The month is June" );break;
		case 7: System.out.println("The month is July" );break;
		case 8: System.out.println("The month is August" );break;
		case 9: System.out.println("The month is September" );break;
		case 10: System.out.println("The month is October" );break;
		case 11: System.out.println("The month is November" );break;
		case 12: System.out.println("The month is December" );break;
		}
		
	}

}
